package com.yjzx.util.service.pool.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "app.threadpool")
public class AppThreadPoolProperties {
    int corePoolSize = 4;
    int maximumPoolSize = 8;
    long keepAliveTime = 1000*60*5L;
    int workQueueSize = 1000;
}
